<?php
// +----------------------------------------------------------------------
// | Tpli [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Author 荒年 < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 栏目表
// +----------------------------------------------------------------------

namespace app\admin\model;
use app\admin\service\Cate as CateService;
use \think\Model;
class Cate extends Model
{
  public static function getCate()
  {
    $cate = self::select();
    $cates = cateService::cateTree($cate);
    return $cates;
  }

}
